package com.hotel_management_backstage.lin.dao;

import com.hotel_management_backstage.lin.entity.SysResident;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysResidentMapper {
    SysResident selectById(Integer id);

    List<SysResident> selectAll();

    void insertResident(SysResident sysResident);

    void deleteResidentById(int id);

    void updateResident(SysResident sysResident);
}
